<template>
  <MdEditor v-model="Describe" />
</template>

<script lang="ts" setup>
import 'md-editor-v3/lib/style.css'
import { MdEditor } from 'md-editor-v3'
import { computed, defineProps, defineEmits } from 'vue'
const prop = defineProps(['projectDescribe'])
const emit = defineEmits(['describeUpdate'])
const Describe = computed({
  get() {
    return prop.projectDescribe
  },
  set(val: any) {
    emit('describeUpdate', val)
  }
})
</script>

<style lang="less" scoped>
/deep/ .md-editor-footer {
  height: 42px !important;
}
</style>
